package com.iman.locker.manager;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.iman.locker.service.WatchDogService;

/**
 * 自启动广播接受
 * 将接受到自启动的广播交执启动自己的功能
 * Created by esirong on 2015/11/18.
 */
public class RebootBroadcastReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        //启动服务
        WatchDogService.start(context);
    }
}
